package edu.gatech.gitmad;


import android.app.Application;
import android.content.Context;
import android.content.SharedPreferences;

public class SecureMemoApp extends Application{
	
	/** The instance of this Application. */
	private static SecureMemoApp instance;
	private SharedPreferences preferences;
	
	public static SecureMemoApp getInstance() {
		return instance;
	}
	
	@Override
	public void onCreate() {
		super.onCreate();
		instance = this;
		preferences = getSharedPreferences("preferences" ,Context.MODE_PRIVATE);
	}
	
	public SharedPreferences getSharedPreferences() {
		return preferences;
	}

}
